import type { IPageQuery } from '@/api/interface'

export namespace ITSiteConfig {

  // 查询条件
  export interface Query extends IPageQuery {
    userAvatar?: string
    touristAvatar?: string
    siteName?: string
    siteAddress?: string
    siteIntro?: string
    siteNotice?: string
    createSiteTime?: string
    recordNumber?: string
    authorAvatar?: string
    siteAuthor?: string
    articleCover?: string
    aboutMe?: string
    github?: string
    gitee?: string
    bilibili?: string
    qq?: string
    commentCheck?: number
    messageCheck?: number
    isReward?: number
    weiXinCode?: string
    aliCode?: string
    emailNotice?: number
    socialList?: string
    loginList?: string
    isMusic?: number
    musicId?: string
    isChat?: number
    websocketUrl?: string
  }

  // 编辑form表单
  export interface Form {
    id?: number
    userAvatar?: string
    touristAvatar?: string
    siteName?: string
    siteAddress?: string
    siteIntro?: string
    siteNotice?: string
    createSiteTime?: string
    recordNumber?: string
    authorAvatar?: string
    siteAuthor?: string
    articleCover?: string
    aboutMe?: string
    github?: string
    gitee?: string
    bilibili?: string
    qq?: string
    commentCheck?: number
    messageCheck?: number
    isReward?: number
    weiXinCode?: string
    aliCode?: string
    emailNotice?: number
    socialList?: string
    loginList?: string
    isMusic?: number
    musicId?: string
    isChat?: number
    websocketUrl?: string
 }

  // list或detail返回结构
  export interface Row {
    id?: number
    userAvatar?: string
    touristAvatar?: string
    siteName?: string
    siteAddress?: string
    siteIntro?: string
    siteNotice?: string
    createSiteTime?: string
    recordNumber?: string
    authorAvatar?: string
    siteAuthor?: string
    articleCover?: string
    aboutMe?: string
    github?: string
    gitee?: string
    bilibili?: string
    qq?: string
    commentCheck?: number
    messageCheck?: number
    isReward?: number
    weiXinCode?: string
    aliCode?: string
    emailNotice?: number
    socialList?: string
    loginList?: string
    isMusic?: number
    musicId?: string
    isChat?: number
    websocketUrl?: string
  }

}